package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章对象 biz_article
 * 
 * @author wsa
 * @date 2019-10-20
 */
public class BizArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 用户ID */
    private Long userId;

    /** 文章封面图片 */
    @Excel(name = "文章封面图片")
    private String coverImage;

    /** 文章专属二维码地址 */
    private String qrcodePath;

    /** 是否是mk */
    private Integer isMarkdown;

    /** 文章内容 */
    private String content;

    /** markdown版的文章内容 */
    private String contentMd;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private Integer top;

    /** 类型 */
    private Long typeId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private Integer recommended;

    /** 是否原创 */
    @Excel(name = "是否原创")
    private Integer original;

    /** 文章简介，最多200字 */
    private String description;

    /** 文章关键字，优化搜索 */
    private String keywords;

    /** 是否开启评论 */
    @Excel(name = "是否开启评论")
    private Integer comment;

    /** 备用1 */
    private String remarkcolumn1;

    /** 备用2 */
    private String remarkcolumn2;

    /** 备用3 */
    private String remarkcolumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }
    public void setQrcodePath(String qrcodePath) 
    {
        this.qrcodePath = qrcodePath;
    }

    public String getQrcodePath() 
    {
        return qrcodePath;
    }
    public void setIsMarkdown(Integer isMarkdown) 
    {
        this.isMarkdown = isMarkdown;
    }

    public Integer getIsMarkdown() 
    {
        return isMarkdown;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setContentMd(String contentMd) 
    {
        this.contentMd = contentMd;
    }

    public String getContentMd() 
    {
        return contentMd;
    }
    public void setTop(Integer top) 
    {
        this.top = top;
    }

    public Integer getTop() 
    {
        return top;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRecommended(Integer recommended) 
    {
        this.recommended = recommended;
    }

    public Integer getRecommended() 
    {
        return recommended;
    }
    public void setOriginal(Integer original) 
    {
        this.original = original;
    }

    public Integer getOriginal() 
    {
        return original;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setComment(Integer comment) 
    {
        this.comment = comment;
    }

    public Integer getComment() 
    {
        return comment;
    }
    public void setRemarkcolumn1(String remarkcolumn1) 
    {
        this.remarkcolumn1 = remarkcolumn1;
    }

    public String getRemarkcolumn1() 
    {
        return remarkcolumn1;
    }
    public void setRemarkcolumn2(String remarkcolumn2) 
    {
        this.remarkcolumn2 = remarkcolumn2;
    }

    public String getRemarkcolumn2() 
    {
        return remarkcolumn2;
    }
    public void setRemarkcolumn3(String remarkcolumn3) 
    {
        this.remarkcolumn3 = remarkcolumn3;
    }

    public String getRemarkcolumn3() 
    {
        return remarkcolumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("userId", getUserId())
            .append("coverImage", getCoverImage())
            .append("qrcodePath", getQrcodePath())
            .append("isMarkdown", getIsMarkdown())
            .append("content", getContent())
            .append("contentMd", getContentMd())
            .append("top", getTop())
            .append("typeId", getTypeId())
            .append("status", getStatus())
            .append("recommended", getRecommended())
            .append("original", getOriginal())
            .append("description", getDescription())
            .append("keywords", getKeywords())
            .append("comment", getComment())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("remarkcolumn1", getRemarkcolumn1())
            .append("remarkcolumn2", getRemarkcolumn2())
            .append("remarkcolumn3", getRemarkcolumn3())
            .toString();
    }
}
